package com.accompany.service;

import com.accompany.entity.Game;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 游戏表 服务类
 * </p>
 *
 * @author DC
 * @since 2024-12-26
 */
public interface GameService extends IService<Game> {

    void createGame(Game game);

    void deleteGame(Long id);

    void updateGame(Game game);

    Game getGameById(Long id);

    List<Game> getAllGames();

    Page<Game> getPaginatedGames(Integer page, Integer size);
}
